<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ibba.src.norisk.Contracts" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ibba.src.norisk.Contracts" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfTipoParametroGarantia">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TipoParametroGarantia" nillable="true" type="tns:TipoParametroGarantia" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTipoParametroGarantia" nillable="true" type="tns:ArrayOfTipoParametroGarantia" />
  <xs:complexType name="TipoParametroGarantia">
    <xs:sequence>
      <xs:element minOccurs="0" name="IdTipoCampo" type="xs:int" />
      <xs:element minOccurs="0" name="IdTipoParametroGarantia" type="xs:int" />
      <xs:element minOccurs="0" name="NmTipoParametroGarantia" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NrPrecisao" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="TipoCampo" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TipoParametroGarantia" nillable="true" type="tns:TipoParametroGarantia" />
  <xs:complexType name="ArrayOfGarantiaContrato">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="GarantiaContrato" nillable="true" type="tns:GarantiaContrato" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGarantiaContrato" nillable="true" type="tns:ArrayOfGarantiaContrato" />
  <xs:complexType name="GarantiaContrato">
    <xs:sequence>
      <xs:element minOccurs="0" name="CdUsuario" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodBem" type="xs:int" />
      <xs:element minOccurs="0" name="CodCliente" type="xs:int" />
      <xs:element minOccurs="0" name="CodContrato" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CodGarantia" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CodGarantidor" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CodInstrumento" type="xs:int" />
      <xs:element minOccurs="0" name="CodNatureza" type="xs:int" />
      <xs:element minOccurs="0" name="DsJustificativa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DscBem" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DscGarantia" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DscGarantidor" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DscInstrumento" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DscNatureza" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DtAlteracao" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DtInicio" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DtTermino" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="IdMotivo" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="IdParametro" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Incondicional" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomCliente" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomGarantidor" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomGrupoCliente" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PercHE" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="PercHV" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="PercLMM" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Utilizar" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="VlParametro" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="id" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GarantiaContrato" nillable="true" type="tns:GarantiaContrato" />
  <xs:complexType name="ArrayOfGarantiaPGR3">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="GarantiaPGR3" nillable="true" type="tns:GarantiaPGR3" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGarantiaPGR3" nillable="true" type="tns:ArrayOfGarantiaPGR3" />
  <xs:complexType name="GarantiaPGR3">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GarantiaContrato">
        <xs:sequence>
          <xs:element minOccurs="0" name="CodAcao" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodBolsa" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodFormaPgto" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodGrupoCliente" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="CodGrupoGarantidor" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="CodModalidade" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodMoeda" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodProduto" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodRiskRating" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodTipoPessoa" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DscGrupoCliente" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DscGrupoGarantidor" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DtAbertura" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DtVencimento" type="xs:dateTime" />
          <xs:element minOccurs="0" name="IcFormalizada" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IcTransfere" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IdOperacaoRisco" type="xs:int" />
          <xs:element minOccurs="0" name="NrCnpjCpf" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NrGarantia" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="PercIncidenciaGarantia" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="VlContabil" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="VlGarantia" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="VlGarantiaMoeda" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="VlGerencial" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="VlOperacao" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="VlRiscoConcordata" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="VlTaxaSwap" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="VlTratamentoEAD" nillable="true" type="xs:decimal" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="GarantiaPGR3" nillable="true" type="tns:GarantiaPGR3" />
  <xs:complexType name="ArrayOfGarantidor">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Garantidor" nillable="true" type="tns:Garantidor" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGarantidor" nillable="true" type="tns:ArrayOfGarantidor" />
  <xs:complexType name="Garantidor">
    <xs:sequence>
      <xs:element minOccurs="0" name="CodGarantidor" type="xs:int" />
      <xs:element minOccurs="0" name="DscGarantidor" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NrCnpjCpf" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Garantidor" nillable="true" type="tns:Garantidor" />
  <xs:complexType name="ArrayOfGrupoCliente">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="GrupoCliente" nillable="true" type="tns:GrupoCliente" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGrupoCliente" nillable="true" type="tns:ArrayOfGrupoCliente" />
  <xs:complexType name="GrupoCliente">
    <xs:sequence>
      <xs:element minOccurs="0" name="CodGrupoCliente" type="xs:int" />
      <xs:element minOccurs="0" name="DscGrupoCliente" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GrupoCliente" nillable="true" type="tns:GrupoCliente" />
</xs:schema>